package cn.supermarket.system.service.impl;

import cn.supermarket.system.dto.TSupplierDTO;
import cn.supermarket.system.dto.TWarehouseDTO;
import cn.supermarket.system.result.TWarehouseResult;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.supermarket.system.entity.TWarehouse;
import cn.supermarket.system.service.TWarehouseService;
import cn.supermarket.system.mapper.TWarehouseMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TWarehouseServiceImpl extends ServiceImpl<TWarehouseMapper, TWarehouse>
    implements TWarehouseService{

    @Override
    public List<TWarehouseResult> pageList(TWarehouseDTO dto) {
        return this.baseMapper.pageList(dto);
    }

    @Override
    public List<TWarehouse> getWare(String commodityNumber) {
        return this.baseMapper.getWare(commodityNumber);
    }

    @Override
    public List<TWarehouseResult> optionSelect() {
        return this.baseMapper.optionSelect();
    }
}




